package com.topmap.service.model;

import java.util.Date;

/**
 * @Author: MaHuadong
 * @Date: 2019/7/18 13:11
 * @Version 1.0
 */
//model才是真正意义上我们定义springmvc中业务交互模型的概念,dataobject仅仅只是一个对数据库的映射
public class ArticleModel {
    private Integer id;


    private String title;


    private String content;


    private String type;


    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
